<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
  <link href="//gmpg.org/xfn/11" rel="profile">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="Hugo 0.69.0" />

  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Day02 &middot; 我的博客</title>

  
  <link type="text/css" rel="stylesheet" href="/mysite/css/print.css" media="print">
  <link type="text/css" rel="stylesheet" href="/mysite/css/poole.css">
  <link type="text/css" rel="stylesheet" href="/mysite/css/syntax.css">
  <link type="text/css" rel="stylesheet" href="/mysite/css/hyde.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">


  
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
  <link rel="shortcut icon" href="/favicon.png">

  
  
</head>

  <body class="theme-base-0c ">
  <aside class="sidebar">
  <div class="container sidebar-sticky">
    <div class="sidebar-about">
      <a href="/mysite/"><h1>我的博客</h1></a>
      <p class="lead">
       这里是Sunday的个人博客 
      </p>
    </div>

    <nav>
      <ul class="sidebar-nav">
        <li><a href="/mysite/">Home</a> </li>
        
      </ul>
    </nav>

    <p>&copy; 2020. All rights reserved. </p>
  </div>
</aside>

    <main class="content container">
    <div class="post">
  <h1>Day02</h1>
  <time datetime=2020-04-22T20:30:15&#43;0800 class="post-date">Wed, Apr 22, 2020</time>
  <h2 id="源的设置">源的设置：</h2>
<p>这个是淘宝源，你也可以弄阿里，清华等！</p>
<pre><code>淘宝源：
npm set registry https://registry.npm.taobao.org
查看是否安装成功：npm config list
</code></pre><h2 id="vue">VUE</h2>
<blockquote>
<p>vue2.0效率极差：开发速度快，敏捷开发</p>
<p>django效率极差：同步框架，celery asyncio</p>
</blockquote>
<ul>
<li>V-model 数据双向绑定
<ul>
<li>单向：数据变 -&gt; 页面变</li>
</ul>
</li>
<li>V-bind：属性绑定</li>
<li>V-on：事件绑定</li>
<li>V-clock：避免差值表达式所带来的闪烁问题</li>
<li>V-HTML：会将绑定的内容转义输出为HTML，<code>&lt;h1&gt;&lt;/h1&gt;</code></li>
<li>V-Text：不会转义输出</li>
<li>V-if：不保留不存在的条件语句</li>
<li>V-show：保留存在的，只是样式设置为了display:none</li>
<li>V-for：<code>v in xxx</code></li>
</ul>

</div>


    </main>

    
  </body>
</html>
